package com.springboot.springSessionDemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
//@ComponentScan(basePackages="com.springboot")
public class SpringSessionDemoApplication extends SpringBootServletInitializer{

	@Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(SpringSessionDemoApplication.class);
    }
	
	public static void main(String[] args) {
		SpringApplication.run(SpringSessionDemoApplication.class, args);
	}
}
